package com.gisquest.cloud.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author guowei
 * @Date 2020/6/19 15:26
 * @Description:
 **/
@Data
public class PageVo implements Serializable {
  private static final long serialVersionUID = 1L;
  /**
   * 页号
   */
  @ApiModelProperty(value = "页码，最小是1",dataType = "int")
  private int pageNum;
  /**
   * 页面大小
   */
  @ApiModelProperty(value = "每一页的数据条数，最小是1",dataType = "int")
  private int pageSize;
  /**
   * 排序字段
   */
  @ApiModelProperty(value = "按字段排序，按时间排序")
  private String sort;
  /**
   * 排序方式 asc/desc
   */
  @ApiModelProperty(value = "排序方式")
  private String order;
}
